package net.yakiboo.adrums;

import java.util.LinkedList;
import java.util.List;

import android.content.Context;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.util.Log;

public class Drum {

	MediaPlayer mp = null;
	float position;
	final static float umbral_distancia = 100;
	String name = "";
	boolean isSelected = true;
	private int sound = 0;
	
	
	public Drum(Context context, String name, float position, int sound){		
		mp = MediaPlayer.create(context, sound);
		this.position = position;
		this.name = name;		
		this.sound = sound;
	}
	
	public int getSound(){
		return this.sound;
	}
	
	public float getPosition(){
		return position;
	}
	
	public void play(){
		mp.start();
	}


}
